﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class MainAudioCtrl : AudioBase
{

    void Awake()
    {
        Bind(AudioEvent.PLAY_AUDIO);  //  关心/绑定事件
    }


    public override void Excute(int eventCode, object message)
    {
        switch (eventCode)
        {
            case AudioEvent.PLAY_AUDIO:
       
                Debug.Log("已经开始播放对应的音乐" + message.ToString());
                break;
            default:
                break;
        }
    }


}
